package com.worthtech.billportal.service;

import java.util.List;

import com.worthtech.billportal.bean.CsAppTerminal;
import com.worthtech.billportal.bean.CsBakTerminal;
import com.worthtech.billportal.bean.CsBillMsg;
import com.worthtech.billportal.bean.CsBillShop;
import com.worthtech.billportal.bean.CsCtrlUser;
import com.worthtech.billportal.bean.CsDicCommbank;
import com.worthtech.billportal.bean.CsLiqPara;
import com.worthtech.billportal.bean.CsMgrCode;
import com.worthtech.billportal.bean.CsRcvAccountInfo;
import com.worthtech.billportal.bean.CsSysTerminal;
import com.worthtech.billportal.bean.PepCustinfo;
import com.worthtech.billportal.bean.WtCreditAccountInfo;
import com.worthtech.billportal.bean.WtMgrEncKey;
import com.worthtech.billportal.bean.WtMgrMerInfo;
import com.worthtech.billportal.bean.WtRcvAccountInfo;
import com.worthtech.billportal.bean.WtTermAuth;
import com.worthtech.billportal.bean.WtTermInfo;

public interface SaminfoService {
	public List getListByHQL(String tableName,int startPage,int perNo,String orderby);
	
	public String getCount(String tableName,String condition);
	public String getBillID();
	public boolean delSAM(String sam,String phone);
	public void delete(CsSysTerminal c);
	public String[] getSamList();
	public void save(WtRcvAccountInfo w );
	public void update(WtRcvAccountInfo w );
	public void delete(WtRcvAccountInfo w );
	public void delete(WtTermInfo w);
	public void save(CsLiqPara c);
	public void update(CsLiqPara c);
	public void delete(CsLiqPara c);
	public void delete(CsMgrCode c);
	public void delete(CsAppTerminal c);
	public void save(PepCustinfo p);
	public void save(WtTermInfo w);
	public void save(CsDicCommbank c);
	public void delete(CsDicCommbank c);
	public void update(CsBillMsg c);
	public void delete(CsBillMsg c);
	public void save(CsBillMsg c);
	public void save(CsBillShop c);
	public void delete(CsBillShop c);
	public void delete(PepCustinfo p );
	public void save(CsRcvAccountInfo w);
	public void delete(CsRcvAccountInfo w);
	public void save (WtMgrEncKey w );
	public void save(WtMgrMerInfo w);
	public void update(WtMgrEncKey w);
	public void update(WtMgrMerInfo w);
	public void delete(WtMgrEncKey w);
	public void delete(WtMgrMerInfo w);
	public void update(CsMgrCode c);
	public void save(CsMgrCode c);
	public List getMenuList();
	public void updateUser(CsCtrlUser u);
	public boolean saveSamPhone(WtTermInfo wt);
	public void delCustInfo(PepCustinfo pc);
	public void delWtTermInfo(WtTermInfo wt);
	public String executeSQL(String sql);
	public void updateWt (WtTermInfo c);
	public boolean isExt(String key);
	public void updateBak(CsBakTerminal c);
	public String getSeqID(String tablename);
	public List getBakbySql(String sql);
	public boolean delAct(String phone);
	
	public boolean saveAct(PepCustinfo pc);
	
	public boolean updateAct(PepCustinfo pc);
	
	public boolean updatePhone(WtTermInfo w,String key);
	
	public boolean isOk(String key);
	
	public void updateSys(CsSysTerminal c);
	public void updateApp(CsAppTerminal c);
	
	public void savaSys(CsSysTerminal c);
	public void saveApp(CsAppTerminal c);
	
	public void delTermAuth(WtTermAuth wa);
	
	public void saveAcc(WtCreditAccountInfo wtc);
	public void updateCreditAcc(WtCreditAccountInfo wtc);
	public void delCreditAcc(WtCreditAccountInfo wtc);
}
